import request from '@/utils/request'

//查询用户列表
export function getPeopleList(data) {
  return request({
    url: '/sys/peopleController/peopleManage/peopleManage/page',
    method: 'post',
    data
  })
}

//查询用户详情
export function getPeopleDetail(data) {
  return request({
    url: '/sys/peopleController/peopleManage/peopleManage/getPeopleDetail',
    method: 'post',
    data
  })
}

//更新用户
export function updatePeople(data) {
  return request({
    url: '/sys/peopleController/peopleManage/peopleManage/update',
    method: 'post',
    data
  })
}

//删除用户
export function deletePeople(data) {
  return request({
    url: '/sys/peopleController/peopleManage/peopleManage/delete',
    method: 'post',
    data
  })
}